Skip to content

xkb + xmonad#7

Merged
holmen1 merged 29 commits intomasterfrom
keyd
Apr 3, 2026
Merged

xkb + xmonad#7
holmen1 merged 29 commits intomasterfrom
keyd

Conversation

@holmen1
Copy link
Copy Markdown
Owner

@holmen1 holmen1 commented Apr 1, 2026

XKB Expansion + Xmonad Build Source

Changes

XKB Remapping (4-level expansion)

  • New level 3 symbols: s→$, ö→=, ä→/
  • New level 4: parentheses at j/k (Super+Shift)
  • Moved Up from level 2 to level 1 (ö) — fixes terminal scroll (bare Up works; Shift+Up doesn't)
  • Consolidated docs: README is single source of truth; local.xkb references it
  • Switched from keyd: Initial keyd setup failed on FreeBSD; XKB is native X11, works on both Arch + FreeBSD

Documentation

  • Unified README table showing all 14 keys × 4 levels
  • Added "Lessons learned" section (Shift modifier gotcha)
  • dmenu help now reads README directly (50 lines) — updates automatically
  • Single comment in local.xkb references README; no duplication

Build Changes

  • Merged local(numpad)+local(remaps) → single local section in build-xkb.sh
  • Tested on Arch + FreeBSD ✓

Xmonad Build (Arch Linux)

  • Build from source required (no pre-built binary)
  • Could not use pacman ghc installed ghc-9.12.4-x86_64-alpine3_12-linux-static-int_native.tar.gz
  • See XMonad Build Factory for setup
  • Note: Haskell environment only needed on build machine, not targets

Testing

  • Arch Linux: keymap builds, levels work, dmenu help displays
  • FreeBSD: keymap builds, xkbcomp loads
  • st terminal: bare Up scrolls; Shift+Up inert (expected)

Files Modified

  • dotfiles/xkb/README.md (doc restructure)
  • install/build/xkb/symbols/local (4-level expansion)
  • install/build/xkb/build-xkb.sh (simplified sed)
  • scripts/dmenu-xkb.sh (added help)
  • install/README.md (git rebase guidance)

Notes for Review

  • Breaking: ö/ä mappings changed (old: :; → new: ⌫↑ + level3/4)
  • Non-breaking upgrade path: just rebuild keymap and restart X
  • XKB wins over keyd: Native X11 support, portable across Arch + FreeBSD
  • Xmonad: Build from source on Arch (see build factory docs)

@holmen1 holmen1 changed the title xkb xkb + xmonad Apr 1, 2026
@holmen1 holmen1 merged commit ca661a6 into master Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant